package com.guns.server;

import com.guns.domain.ActionLog;
import com.guns.repository.LogRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ActionLogServer {
    @Autowired
    private LogRepository logRepository;

    public void addActionLog(ActionLog actionLog){
      logRepository.save(actionLog);
    }
}
